dnd: Make the drag gesture obey the button mask specified
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 4 Sep 2014 11:23:26 +0000 (13:23 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 4 Sep 2014 12:59:08 +0000 (14:59 +0200)
commit6f538950d41e2b97437afccde613d15fb931b712
tree4e891132b22628a6e08e0e33b230cfe5ec0421aa
parent20f3bb2a0b51a1c1aa380879131b86a2238ac021
dnd: Make the drag gesture obey the button mask specified

This was forgotten when making DnD use a GtkGesture in the handlers
attached to the widget in gtk_drag_source_set(). The gesture must obey
the specified button mask, and switch to denied state if the pressed
button isn't part of the given mask.

https://bugzilla.gnome.org/show_bug.cgi?id=735965
gtk/gtkdnd.c